﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="~/Content/Record/record.css" media="all" />
    <link rel="stylesheet" href="~/Content/History/history.css" media="all" />
    <script src="~/Scripts/record/record.js" type="text/javascript"></script>
    <title>Record</title>
</head>
<body>
    <div class="wap">
        <!-- <div class="nav"><a class="float_l" href="javascript:history.back(-1);">< 返回</a></div> -->
        <div>
            <div style="font-size:20px;text-align:center;">@ViewBag.DeviceMap["Name"]</div>
            <div style="font-size:16px;">地址：@ViewBag.DeviceMap["Address"]</div>
        </div>
        <div class="list" style="width:100%;margin:0 auto;height:29rem;">
            <table class="result-tab" id="htmls" width="100%">
                <tbody>
                    <tr>
                        <th style="width:35%;">超标时间</th>
                        <th>油烟</th>
                        <th>VOC</th>
                        <th>颗粒物</th>
                        <td>通道</td>
                    </tr>
                    @for (int i = 0; i < @ViewBag.DataList.Count; i++)
                    {
                        <tr>
                            <td>@ViewBag.DataList[i]["DataTime"]</td>
                            <td>@ViewBag.DataList[i]["Y1"]</td>
                            <td>@ViewBag.DataList[i]["V1"]</td>
                            <td>@ViewBag.DataList[i]["K1"]</td>
                            <td>1</td>
                        </tr>
                        <tr>
                            <td></td>
                            <td>@ViewBag.DataList[i]["Y2"]</td>
                            <td>@ViewBag.DataList[i]["V2"]</td>
                            <td>@ViewBag.DataList[i]["K2"]</td>
                            <td>2</td>
                        </tr>
                    }
                </tbody>
            </table>
            <div class="list-page" style="padding:0;"></div>
        </div>
        <div class="submits" onclick="goBack()">返回</div>
        <div style="font-size:12px;margin-top:10px;margin-bottom:10px;width:100%;text-align:center">
            ©2020 德器(重庆)科技有限公司 服务热线 400-9019-505
            @*重庆环元环境科学研究院*@
        </div>
        <div class="footera"></div>
    </div>
    <script type="text/javascript">
        var MN = "@ViewBag.MN";
        function goBack() {
            window.location.href = "/DataView/ShopDetail?MN=" + MN;

        }




    </script>
</body>
</html>
